package com.zbj.data.jpa.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * ClassGrade
 *
 * @author weigang
 * @create 2017-09-10
 **/
@Entity(name = "class_grade")
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ClassGrade extends AbstractEntity implements Serializable {

	private static final long serialVersionUID = -6115050404093074167L;

	@Column(name = "class_name")
	private String className;

	/**
	 * 位于***楼***号
	 */
	private String address;
//
//	public ClassGrade(String className, String address){
//		this.className = className;
//		this.address = address;
//	}
}
